package com.my.security.service;

import com.my.security.model.Permission;

import java.util.List;

public interface PermissionService {
    /**
     * 获取权限资源列表
     * @return
     */
    List<Permission> getList();

    List<Permission> getUserPermission(String username);
}
